package com.ssm.service;

import com.ssm.pojo.Customer;

import java.util.List;

public interface CustomerService {

    public void insert(Customer customer);

    public void update(Customer customer);

    public void deleteByCustomerNO(String customerNO);

    public List<Customer> seleteCustomersPage(String customerNO, Integer pageNum, Integer pageSize);

    public Integer selectSize(String customerNO);

    public Customer selectCustomerByNO(String NO);

    public Customer selectByNameAndPassword(String userName,String password);
}
